package top.bug.blog.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.bug.blog.common.BasePO;

/**
 * @author <a href="https://github.com/jiusi66">九思.</a>
 * @email 10837907@qq.com
 * @from <a href="https://www.52bug.top">递归茶馆-www.52bug.top</a>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sensitive_word")
@ApiModel("敏感词过滤实体")
public class SensitiveWord extends BasePO {
    @ApiModelProperty("敏感词")
    @TableField("word")
    private String word;

    @ApiModelProperty("替换词")
    @TableField("replace_word")
    private String replaceWord;

    @ApiModelProperty("类型: 1-禁用词, 2-替换词, 3-审核词")
    @TableField("word_type")
    private String wordType;

    @ApiModelProperty("状态: 0-禁用, 1-启用")
    @TableField("status")
    private String status;

    @TableField(exist = false)
    private String createUserName;
}